package io.renren.task;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import io.renren.entity.Test;
import io.renren.service.TestService;

public class TestJob1 {
	@Autowired
	private TestService testService;
	 public void doSomething() {
		 Map<String, Object> map = new HashMap<>();
		 List<Test> list=testService.queryList(map);
		 list.forEach(l->System.out.println(l.getName()));
	        System.out.println("****:" + System.currentTimeMillis());
	    }

}
